package com.woniu.atms.vo.aft.Schedule;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 修改班次状态数据视图
 */
@Getter
@Setter
public class AftScheduleUpdateStatusVO {
    @NotNull(message = "id不能为null")
    @Min(value = 1,message = "id需为正整数")
    private Integer id;
    @NotNull(message = "状态不能为null")
    @NotBlank(message = "状态不能为空字符串")
    @Size(max = 1,min = 1,message = "状态必须为1字符")
    private String status;
}
